package com.yuetong.quotation.mapper;

import java.util.List;
import com.yuetong.quotation.domain.YtQuotationDetail;

/**
 * 报价详情明细Mapper接口
 * 
 * @author  卓晓君
 * @date 2025-02-11
 */
public interface YtQuotationDetailMapper 
{
    /**
     * 查询报价详情明细
     * 
     * @param detailId 报价详情明细主键
     * @return 报价详情明细
     */
    public YtQuotationDetail selectYtQuotationDetailByDetailId(Long detailId);

    /**
     * 查询报价详情明细列表
     * 
     * @param ytQuotationDetail 报价详情明细
     * @return 报价详情明细集合
     */
    public List<YtQuotationDetail> selectYtQuotationDetailList(YtQuotationDetail ytQuotationDetail);

    /**
     * 新增报价详情明细
     * 
     * @param ytQuotationDetail 报价详情明细
     * @return 结果
     */
    public int insertYtQuotationDetail(YtQuotationDetail ytQuotationDetail);

    /**
     * 修改报价详情明细
     * 
     * @param ytQuotationDetail 报价详情明细
     * @return 结果
     */
    public int updateYtQuotationDetail(YtQuotationDetail ytQuotationDetail);

    /**
     * 删除报价详情明细
     * 
     * @param detailId 报价详情明细主键
     * @return 结果
     */
    public int deleteYtQuotationDetailByDetailId(Long detailId);

    /**
     * 批量删除报价详情明细
     * 
     * @param detailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYtQuotationDetailByDetailIds(Long[] detailIds);
}
